<template>
  <div>
    <CommonFold class="tabbar-fold">
      <template #header="{ show }">
        <div class="header__title">
          <div class="fold-title-left">
            <div class="fold-name">待交货</div>
            <div class="fold-count">365</div>
          </div>
          <div class="arrow__pic__wrap">
            <img
              class="arrow__pic__img"
              :src="
                show ? require('@/assets/black-down.svg') : require('@/assets/black-up.svg')
              "
              alt=""
            />
          </div>
        </div>
      </template>
      <template #body>
        <div class="body__content">
          <Item></Item>
          <Item></Item>
          <div>
            <div class="load-more">加载更多...</div>
            <!-- <div class="data-end">没有更多数据了</div> -->
          </div>
         
        </div>
      </template>
    </CommonFold>
    <CommonFold class="tabbar-fold">
      <template #header="{ show }">
        <div class="header__title">
          <div class="fold-title-left">
            <div class="fold-name">交货完成</div>
            <div class="fold-count">365</div>
          </div>
          <div class="arrow__pic__wrap">
            <img
              class="arrow__pic__img"
              :src="
                show ? require('@/assets/black-down.svg') : require('@/assets/black-up.svg')
              "
              alt=""
            />
          </div>
        </div>
      </template>
      <template #body>
        <div class="body__content">
          <Item></Item>
          <div>
            <div class="load-more">加载更多...</div>
            <!-- <div class="data-end">没有更多数据了</div> -->
          </div>
        </div>
      </template>
    </CommonFold>
  </div>
</template>

<script>
import CommonFold from "@/components/common-fold/index.vue";
import Item from "./item.vue"

export default {
  components: {
    CommonFold,
    Item
  },
  data() {
      return {
      };
    },
};
</script>

<style scoped lang="less">

.tabbar-fold {
  margin-bottom: 10px; /*  */
  .header__title {
    box-sizing: border-box;
    font-family: PingFang SC;
    font-size: 15px;
    padding: 15px 5px;
    display: flex;
    justify-content: space-between;
    align-content: center;
    color: #1c1243;
    font-size: 16px;
    .fold-title-left{
      display: flex;
      align-items: center;
      .fold-name{
        margin-right: 10px;
        font-weight: 600;
      }
      .fold-count{
        padding: 2px 5px;
        text-align: center;
        line-height: 16px;
        background: #FF4D4F;
        font-size: 12px;
        color: white;
        border-radius: 10px;
        transform: scale(0.9);
      }
    }
  }

  .body__content {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 5px;
  }

  .arrow__pic__wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .arrow__pic__img {
    width: 25px;
  }
}



/* 卡片样式 */
.report-card {
  margin-bottom: 15px;
  padding: 15px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 12px #ebedf0;
  overflow: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.report-card__pic {
  text-align: right;
}
.report-card__pic__img {
  width: 35px;
}
.load-more{
  text-align: center;
  color: #3354f4;
  font-size: 14px;
  margin-top: 10px;
  padding: 10px;

}
.data-end{
  font-size: 13px;
  color: #7d7f7f;
  margin-top: 10px;
  padding: 10px;
}
</style>